/* layer begin */
.@{xui-prefix}select-ios{
  padding-top: 44px;

  &.@{xui-prefix}select-ios-olay {
    position: absolute;
    z-index: 500;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: rgba(0, 0, 0, 0.55);

    > div {
      position: fixed;
      z-index: 1000;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: #f2f2f2;
      bottom: 0;
      left: 0;

      > .@{xui-prefix}select-ios-loading-box {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0,0,0,.5);
        display: none;

        > .@{xui-prefix}select-ios-loading {
          width: 50px;
          height: 50px;
          position: absolute;
          left: 50%;
          top: 50%;
          margin-top: -25px;
          margin-left: -25px;
          background: url() no-repeat 0 0;
          background-size: contain;
          -webkit-animation: loading-keyframe 1s infinite linear;
          animation: loading-keyframe 1s infinite linear;
        }
      }
    }
  }

  //头部
  header.@{xui-prefix}select-ios-header {
    height: 44px;
    line-height: 44px;
    background-color: #eee;
    width: 100%;
    z-index: 9999;
    text-align: center;

    a{
      font-size: 16px;
      color: #e94643;
      text-decoration: none;

      &.close {
        float: left;
        padding-left: 15px;
        height: 44px;
        line-height: 44px;
      }
      &.sure {
        float: right;
        padding-right: 15px;
        height: 44px;
        line-height: 44px;
      }
    }

    .one-level-contain,
    .two-level-contain,
    .three-level-contain {
      height: 100%;
      overflow: hidden;
    }
  }

  .@{xui-prefix}select-ios-box{
    overflow: hidden;

    > div {
      display: block;
      float: left;
    }
  }

  ul {
    background-color: #fff;

    li {
      font-size: 13px;
      height: 35px;
      line-height: 35px;
      background-color: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: center;
      color: #111;
      opacity: .3;

      &.at {
        font-size: 16px;
        opacity: 1;
      }
      &.side1 {
        font-size: 15px;
        opacity: .7;
      }
      &.side2 {
        font-size: 14px;
        opacity: .5;
      }
    }
  }

  &.one-level-box{
    .one-level-contain {
      width: 100%;
    }
  }
  &.two-level-box{
    .one-level-contain,
    .two-level-contain {
      width: 50%;
    }
    .three-level-contain {
      width: 0;
    }
  }
  &.three-level-box{
    .one-level-contain,
    .two-level-contain {
      width: 30%;
    }
    .three-level-contain {
      width: 40%;
    }
  }

  .cover-area1 {
    width: 100%;
    border: none;
    border-top: 1px solid #d9d9d9;
    position: absolute;
    top: 149px;
    margin: 0;
    height: 0;
  }
  .cover-area2 {
    width: 100%;
    border: none;
    border-top: 1px solid #d9d9d9;
    position: absolute;
    top: 183px;
    margin: 0;
    height: 0;
  }
  #iosSelectTitle {
    margin: 0;
    padding: 0;
    display: inline-block;
    font-size: 16px;
    font-weight: normal;
    color: #333;
    height: 44px;
    line-height: 44px;
  }
}
.@{xui-prefix}select-ios-body {
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
[xui-select-ios]{
  cursor: pointer;
  select{
    display: none;
  }
}
@-webkit-keyframes loading-keyframe {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes loading-keyframe {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}